package test;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class test2 {
    public static void main(String[] args) throws IOException {
        File file=new File("C:\\Users\\tbabm\\Desktop\\新建文件夹\\a.txt");
        FileInputStream fis=new FileInputStream(file);
        int b = fis.read();
        System.out.println(b);
    }
}
